/*
 * Copyright 2010 Mark Eschbach.
 *
 * $HeadURL$
 * $Id$
 */
package com.meschbach.cise.resource.jar;

import com.meschbach.cise.resource.Source;
import java.io.IOException;
import java.util.jar.JarInputStream;

/**
 *
 * @author "Mark Eschbach" &lt;meschbach@gmail.com&gt;
 */
public class JarSource implements Source<JarInputStream> {

    Source jarInputSource;

    public JarSource(Source jarInputSource) {
        this.jarInputSource = jarInputSource;
    }

    public JarInputStream getSource() throws IOException {
        return new JarInputStream(jarInputSource.getSource());
    }
}
